package com.fate.securecheckplatform.bean;

import androidx.annotation.NonNull;
import androidx.room.Entity;
import androidx.room.PrimaryKey;

import java.io.Serializable;

@Entity
public class TerminalInfoEntity implements Serializable {


//    ID：主键
//    SBMC：设备编号
//    SSWZ：所属位置（A-东 B-西）
//    TJSJ：添加时间
//    SFSC：是否删除（0-否 1-是）
//    PX：排序
//    REMARK：备注
//    IP：设备IP

    /**
     * sbmc : 004
     * sswz : A
     * tjsj : 2019-08-12
     * remark :
     * ip : 192.168.100.4
     * px : 4
     * sfsc : 1
     * id : 493622304e0c4443b88c3595362421bf
     */

    private String sbmc;
    private String sswz;
    private String tjsj;
    private String remark;
    private String ip;
    private String px;
    private String sfsc;
    @NonNull
    @PrimaryKey
    private String id;

    public String getSbmc() {
        return sbmc;
    }

    public void setSbmc(String sbmc) {
        this.sbmc = sbmc;
    }

    public String getSswz() {
        return sswz;
    }

    public void setSswz(String sswz) {
        this.sswz = sswz;
    }

    public String getTjsj() {
        return tjsj;
    }

    public void setTjsj(String tjsj) {
        this.tjsj = tjsj;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getPx() {
        return px;
    }

    public void setPx(String px) {
        this.px = px;
    }

    public String getSfsc() {
        return sfsc;
    }

    public void setSfsc(String sfsc) {
        this.sfsc = sfsc;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return "TerminalInfoEntity{" +
                "sbmc='" + sbmc + '\'' +
                ", sswz='" + sswz + '\'' +
                ", tjsj='" + tjsj + '\'' +
                ", remark='" + remark + '\'' +
                ", ip='" + ip + '\'' +
                ", px='" + px + '\'' +
                ", sfsc='" + sfsc + '\'' +
                ", id='" + id + '\'' +
                '}';
    }
}
